package com.shop.zkmall.app.service.a.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shop.zkmall.app.domain.CereBuyerSystemConfig;
import com.shop.zkmall.app.mapper.CereBuyerSystemConfigMapper;
import com.shop.zkmall.app.service.a.ICereBuyerSystemConfigService;
import com.shop.zkmall.commons.result.R;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 系统配置表 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2025-11-27
 */
@Service
public class CereBuyerSystemConfigServiceImpl extends ServiceImpl<CereBuyerSystemConfigMapper, CereBuyerSystemConfig> implements ICereBuyerSystemConfigService {

    @Override
    public R<?> getPolicy(Integer type) {
        return R.ok(getById(type));
    }
}
